import 'dart:convert';

import 'package:largefriends/entity/json/json_parse_utils.dart';

class LfBoolEntity {
  LfBoolEntity({
    this.ret,
  });

  factory LfBoolEntity.fromJson(Map<dynamic, dynamic> jsonRes) => LfBoolEntity(
        ret: jsonRes.asBool('ret', false),
      );

  bool? ret;

  @override
  String toString() {
    return jsonEncode(this);
  }

  Map<String, dynamic> toJson() => <String, dynamic>{
        'ret': ret,
      };
}
